Silence unused variable warnings in the cups printbackend
authorMatthias Clasen <mclasen@redhat.com>
Sun, 30 Jan 2011 07:16:18 +0000 (02:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 30 Jan 2011 07:16:18 +0000 (02:16 -0500)
modules/printbackends/cups/gtkprintbackendcups.c

index 5bb14eb9f4116f17b42bc59c2ddc4ca436eed799..614e7520604ee0a2c9dfdb4f99a1f185b8ab530e 100644 (file)
@@ -2235,7 +2235,6 @@ cups_request_ppd_cb (GtkPrintBackendCups *print_backend,
                      GtkCupsResult       *result,
                      GetPPDData          *data)
 {
-  ipp_t *response;
   GtkPrinter *printer;
 
   GDK_THREADS_ENTER ();
@@ -2264,8 +2263,6 @@ cups_request_ppd_cb (GtkPrintBackendCups *print_backend,
       goto done;
     }
 
-  response = gtk_cups_result_get_response (result);
-
   /* let ppdOpenFd take over the ownership of the open file */
   g_io_channel_seek_position (data->ppd_io, 0, G_SEEK_SET, NULL);
   data->printer->ppd_file = ppdOpenFd (dup (g_io_channel_unix_get_fd (data->ppd_io)));